#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

@interface UIView (Extension)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat bottom;
@property (nonatomic, assign) CGFloat right;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;

/// 中心点在父视图中的坐标
@property (nonatomic, assign) CGFloat center_X;
/// 中心点在父视图中的坐标
@property (nonatomic, assign) CGFloat center_Y;
/**
 获取顶部安全距离
 */
+(CGFloat)getSafeInset_top;
/**
 获取底部安全距离
 */
+(CGFloat)getSafeInset_bottom;

+(CGFloat)getNavHeight;
+(CGFloat)getTabbarHeight;
@end
